package com.rran.study.chat.ops.pojo.socketmsg;

import io.netty.channel.ChannelHandlerContext;
import lombok.Data;

/**
 * @author yy
 * @Type MessageContext.java
 * @Desc
 * @date 2020/8/7 10:18
 */
@Data
public class MessageContext<T extends ChatMessage> {

    private T chatMessage;

    private ChannelHandlerContext ctx;

    public MessageContext(T t,ChannelHandlerContext ctx){
        this.chatMessage = t;
        this.ctx = ctx;
    }

}
